package com.gagakuai.bpm.api.testapi;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Service;
import org.springframework.web.context.support.WebApplicationObjectSupport;

import javax.servlet.ServletContext;

/*
 * @program: settement
 * @description:
 * @author: houhong
 * @create: 2022-11-13 22:43
 */
@Service
public class UserService extends WebApplicationObjectSupport {





    /*
    *   在 ApplicationContextAware d的时候，设置了一个Aware
     *   在ioc设置了Aware 会回调这里
    */
    @Override
    protected void initApplicationContext(ApplicationContext context) {
        super.initApplicationContext(context);
    }

    @Override
    protected void initApplicationContext() throws BeansException {
        super.initApplicationContext();
    }

    @Override
    protected void initServletContext(ServletContext servletContext) {
        super.initServletContext(servletContext);
    }
}